package com.yzt.zhuju.network.entity.chatroom;

import com.yzt.zhuju.network.base.BaseBean;

import java.io.Serializable;
import java.util.Arrays;

/**
 * author : Irene
 * e-mail : 821970751@qq.com
 * date   : 2020/6/16 7:56 PM
 * desc   :
 */
public class ChatRoomDetailInfo extends BaseBean implements Serializable {

    private String background;    // 背景图片
    private String color;  //发送文本的字体颜色
    private CompereInfo compereInfo;//主持人信息
    private String avatar;  //主持人头像
    private String username;    // 主持人昵称
    private int uid;//支持人uid
    private String icon;   //房间图标
    private String roomId;  //房间序号
    private int creator;   //主播id
    private boolean isInit;//是否已经初始化过该房间

    public ChatRoomDetailInfo() {
    }

    public String getBackground() {
        return background;
    }

    public void setBackground(String background) {
        this.background = background;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }


    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public int getCreator() {
        return creator;
    }

    public void setCreator(int creator) {
        this.creator = creator;
    }

    public static class ColorfulFont extends BaseBean implements Serializable {
        private String[] name;
        private String[] font;

        public String[] getName() {
            return name;
        }

        public void setName(String[] name) {
            this.name = name;
        }

        public String[] getFont() {
            return font;
        }

        public void setFont(String[] font) {
            this.font = font;
        }

        @Override
        public String toString() {
            return "ColorfulFont{" +
                    "name=" + Arrays.toString(name) +
                    ", font=" + Arrays.toString(font) +
                    '}';
        }
    }

    public boolean isInit() {
        return isInit;
    }

    public void setInit(boolean init) {
        isInit = init;
    }
}
